Gets or sets the total number of elements the internal data structure can hold without resizing.
public int Capacity {get; set;}
'Declaration
Public Property Capacity As Integer
'Usage
Dim instance As ListBase(Of T)
Dim value As Integer
instance.Capacity = value
value = instance.Capacity
Property Value
The number of elements that the
ListBase<T> can contain before resizing is required.